projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
063aa7f
)
stubdom: fix stubdom-dm error path
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 14 Jul 2009 13:46:04 +0000
(14:46 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 14 Jul 2009 13:46:04 +0000
(14:46 +0100)
Exit the shell and not a subshell.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
stubdom/stubdom-dm
patch
|
blob
|
history
diff --git
a/stubdom/stubdom-dm
b/stubdom/stubdom-dm
index c138e009455b4650e1b8dd001ccd27d63cfb3cfa..8faca31843bdb8154fde4c2573ae05aed469febc 100644
(file)
--- a/
stubdom/stubdom-dm
+++ b/
stubdom/stubdom-dm
@@
-74,8
+74,8
@@
do
shift
done
-[ -z "$domid" ] &&
( echo "couldn't find domain ID" ; exit 1 )
-[ -z "$domname" ] &&
( echo "couldn't find domain name" ; exit 1 )
+[ -z "$domid" ] &&
{ echo "couldn't find domain ID" ; exit 1; }
+[ -z "$domname" ] &&
{ echo "couldn't find domain name" ; exit 1; }
# Termination handler